<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.Connection"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

        <head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
			<!-- INIZIO TITOLO -->
				<title>PAGINA DI ACCESSO</title>
			<!-- FINE TITOLO -->
		<link href="css/template.css" rel="stylesheet" type="text/css" />
               
	</head>
<body>
    
    <% 
        String err=request.getParameter("err");
        if (err!=null){
        out.print(err);
        }
        %>
    <div id="container">
		<!-- INIZIO LOGO -->
			<div id="header"style="width: 900px"></div>
                        

		<!-- FINE LOGO -->
		<!-- INIZIO CORPO CENTRALE -->
                <div id="content" align="center" style="position: absolute; width: 860px;right: 19px ; height: 200px; top: 200px ; ">
    
        <h5 style= "position: absolute; right: 333px ;top: 150px;">
            <a href="viewRegistrationForm.jsp">Registrati</a>
                                                                              </h5>
		
                    <h1 style="margin-top:38px">PAGINA DI ACCESSO</h1>
                     <form action="DoLoginAdmin.jsp" method="post">
		            <p><label>Username : <input type="text" name="username" value=""/></label></p>
                            <p><label style= "position: absolute; left: 337px"> Password : 
                <input type="text" name="password" value="" /></label></p>
                            <p><input type="submit" value="Accedi" style="position: absolute; left: 332px; top: 155px;" /></p>
                             </form>   
                </div> 
		<!-- FINE CORPO CENTRALE -->
	</div>
    <!-- INIZIO COPYRIGHT --> 
	<div id="footer" style="position: absolute; top: 537px; width: 937px">&copy; All rights reserved.</div>
		<!-- FINE COPYRIGHT -->
</body>
</html>
